package com.buddy.syn.method._06;

public class ThreadB extends Thread {

    private ThrowExceptionNoLockService service;

    public ThreadB(ThrowExceptionNoLockService service){
        super();
        this.service = service;
    }

    public void run(){
        service.method();
    }
}
